package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import sh.wn36.vehiclemanage.entity.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.vo.carInfo;

import java.util.List;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface CarService extends IService<Car> {

    IPage<carInfo> getAll1(Page<carInfo> page, QueryWrapper<carInfo> wrapper);

    List<Car> getAll2();
    boolean setStatesToRepaired(Integer carId);

    boolean setStatesToUseable(Integer carId);
}
